package com.smallprogram.www.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.Version;

public abstract class BaseEntity {

    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;

    @TableLogic
    private Integer deleteOption;

    @Version
    private Integer version;
}
